package com.lovegu.spring.ioc;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 老顾
 * @title: Hello
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/25 9:51
 */
public class Hello {
    private String name;

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public void show(){
        System.out.println("Hello,"+ name );
    }

    public void setStr(String str) {
    }
}
